runtime.sysMemStat.add (method)
16 uses
runtime (current package)
arena.go#L787: gcController.heapInUse.add(-int64(s.npages * pageSize))
arena.go#L957: gcController.heapInUse.add(int64(userArenaChunkBytes))
arena.go#L958: gcController.heapReleased.add(-int64(userArenaChunkBytes))
malloc.go#L1535: sysStat.add(int64(size))
malloc.go#L1536: memstats.other_sys.add(-int64(size))
mem.go#L50: sysStat.add(int64(n))
mem.go#L114: sysStat.add(-int64(n))
mem.go#L154: sysStat.add(int64(n))
mgcscavenge.go#L789: gcController.heapReleased.add(nbytes)
mgcscavenge.go#L790: gcController.heapFree.add(-nbytes)
mheap.go#L1352: gcController.heapReleased.add(-int64(scav))
mheap.go#L1355: gcController.heapFree.add(-int64(nbytes - scav))
mheap.go#L1357: gcController.heapInUse.add(int64(nbytes))
mheap.go#L1620: gcController.heapFree.add(int64(nbytes))
mheap.go#L1622: gcController.heapInUse.add(-int64(nbytes))
mstats.go#L649: func (s *sysMemStat) add(n int64) {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |